FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource TestScript/FHIR Server from package hl7.eu.fhir.flute#current (78 ms)

Package hl7.eu.fhir.flute
Type TestScript
Id Id
FHIR Version R4
Source http://hl7.eu/fhir/ig/flute/https://build.fhir.org/ig/hl7-eu/flute/TestScript-TS-Flute-02.html
Url http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-02
Version 0.1.0
Status draft
Date 2024-06-25T14:09:31+00:00
Name PcaInclusionCriteriaS02
Title Study Inclusion Criteria - Scenario 02
Experimental True
Realm eu
Authority hl7
Description This TestScript evaluates the inclusion criteria for patients participating in the study.
Purpose To verify that the CQL library correctly identifies patients who meet the inclusion criteria for the study.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: TestScript

ResourceTestScript "TS-Flute-02"

url: http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-02

version: 0.1.0

name: PcaInclusionCriteriaS02

title: Study Inclusion Criteria - Scenario 02

status: draft

experimental: true

date: 2024-06-25 14:09:31+0000

publisher: Flute Project

contact: Flute Project: https://www.fluteproject.eu/, Flute Project: https://www.fluteproject.eu/

description: This TestScript evaluates the inclusion criteria for patients participating in the study.

purpose: To verify that the CQL library correctly identifies patients who meet the inclusion criteria for the study.

Origins

-IndexProfile
*1FHIR Client (Details: Test script profile origin type code FHIR-Client = ' FHIR Client ', stated as ' null ')

Destinations

-IndexProfile
*1FHIR Server (Details: Test script profile destination type code FHIR-Server = ' FHIR Server ', stated as ' null ')

fixture

id

fixture-transaction-request

autocreate: false

autodelete: false

resource: DocumentReference/EXP-S2-ExcludedPatient

fixture

id

fixture-transaction-teardown

autocreate: false

autodelete: false

resource: DocumentReference/EXP-Teardown

fixture

id

fixture-valueset-create

autocreate: false

autodelete: false

resource: DocumentReference/VS-PCa

fixture

id

fixture-library-create

autocreate: false

autodelete: false

resource: DocumentReference/PcaInclusionCriteria

variable

id

patientId

name: patientId

expression: Bundle.entry[0].response.location

sourceId: fixture-transaction-response

variable

id

obsPIRADSId

name: obsPIRADSId

expression: Bundle.entry[6].response.location

sourceId: fixture-transaction-response

variable

id

obsPVId

name: obsPVId

expression: Bundle.entry[5].response.location

sourceId: fixture-transaction-response

variable

id

proDREId

name: proDREId

expression: Bundle.entry[4].response.location

sourceId: fixture-transaction-response

variable

id

obsPSAId

name: obsPSAId

expression: Bundle.entry[3].response.location

sourceId: fixture-transaction-response

variable

id

famPCId

name: famPCId

expression: Bundle.entry[2].response.location

sourceId: fixture-transaction-response

variable

id

proBiopsyId

name: proBiopsyId

expression: Bundle.entry[1].response.location

sourceId: fixture-transaction-response

setup

action

operation

id

SET-01

type: transaction (Details: FHIR Restful Interactions code transaction = ' transaction ', stated as ' null ')

resource: Bundle

description: Sent a transaction request on the test server using the id from fixture-transaction-request.

accept: application/fhir+json

contentType: application/fhir+json

encodeRequestUrl: false

method: post

responseId: fixture-transaction-response

sourceId: fixture-transaction-request

action

assert

id

SET-01-ASS-01

label: HTTPStatus

description: Confirm that the returned HTTP status is 200.

direction: response

responseCode: 200

warningOnly: false

action

operation

id

SET-02

type: update (Details: FHIR Restful Interactions code update = ' update ', stated as ' null ')

resource: ValueSet

description: Create the ValueSet resource on the test server using the id from fixture-valueset-create.

accept: application/fhir+json

contentType: application/fhir+json

encodeRequestUrl: false

method: put

sourceId: fixture-valueset-create

action

assert

id

SET-02-ASS-01

label: HTTPStatus

description: Confirm that the returned HTTP status is 201.

direction: response

responseCode: 201

warningOnly: false

action

operation

id

SET-03

type: update (Details: FHIR Restful Interactions code update = ' update ', stated as ' null ')

resource: Library

description: Create the Library resource on the test server using the id from fixture-library-create.

accept: application/fhir+json

contentType: application/fhir+json

encodeRequestUrl: false

method: put

sourceId: fixture-library-create

action

assert

id

SET-03-ASS-01

label: HTTPStatus

description: Confirm that the returned HTTP status is 201.

direction: response

responseCode: 201

warningOnly: false

test

id

1-EvaluateLibrary

name: Evaluation of CQL Library for Prostate Cancer Inclusion

description: This test evaluates the inclusion criteria defined in the CQL library for a prostate cancer study.

action

operation

id

TES-01

type: operation (Details: FHIR Restful Interactions code operation = ' operation ', stated as ' null ')

resource: Library

description: Evaluate the CQL library to check if the patient meets the inclusion criteria.

contentType: application/fhir+json

encodeRequestUrl: false

method: get

params: $evaluate?subject={{patientId}}

targetId: fixture-library-create

action

assert

id

TES-01-ASS-01

label: HTTPStatus

description: Confirm that the returned HTTP status is 200.

direction: response

responseCode: 200

warningOnly: false

action

assert

id

TES-01-ASS-02

label: Resource

description: Confirm that the returned resource type is Parameters.

direction: response

resource: Parameters

warningOnly: false

action

assert

id

TES-01-ASS-03

label: FHIRPath

description: Confirm that the returned Parameters resource contains an 'isIncluded' parameter with a value of false.

direction: response

expression: Parameters.parameter.where(name = 'isIncluded' ).value=false

warningOnly: false

teardown

action

operation

id

TED-01

type: transaction (Details: FHIR Restful Interactions code transaction = ' transaction ', stated as ' null ')

resource: Bundle

description: Delete the testing resources on the test server using the id from fixture-transaction-teardown.

encodeRequestUrl: true

method: delete

sourceId: fixture-transaction-teardown

action

operation

id

TED-02

type: delete (Details: FHIR Restful Interactions code delete = ' delete ', stated as ' null ')

resource: ValueSet

description: Delete the ValueSet resource on the test server using the id from fixture-library-create.

encodeRequestUrl: true

method: delete

targetId: fixture-valueset-create

action

operation

id

TED-03

type: delete (Details: FHIR Restful Interactions code delete = ' delete ', stated as ' null ')

resource: Library

description: Delete the Library resource on the test server using the id from fixture-library-create.

encodeRequestUrl: true

method: delete

targetId: fixture-library-create


Source

{
  "resourceType" : "TestScript",
  "id" : "TS-Flute-02",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: TestScript </b><a name=\"TS-Flute-02\"> </a><a name=\"hcTS-Flute-02\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">ResourceTestScript &quot;TS-Flute-02&quot; </p></div><p><b>url</b>: <code>http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-02</code></p><p><b>version</b>: 0.1.0</p><p><b>name</b>: PcaInclusionCriteriaS02</p><p><b>title</b>: Study Inclusion Criteria - Scenario 02</p><p><b>status</b>: draft</p><p><b>experimental</b>: true</p><p><b>date</b>: 2024-06-25 14:09:31+0000</p><p><b>publisher</b>: Flute Project</p><p><b>contact</b>: Flute Project: <a href=\"https://www.fluteproject.eu/\">https://www.fluteproject.eu/</a>, Flute Project: <a href=\"https://www.fluteproject.eu/\">https://www.fluteproject.eu/</a></p><p><b>description</b>: This TestScript evaluates the inclusion criteria for patients participating in the study.</p><p><b>purpose</b>: To verify that the CQL library correctly identifies patients who meet the inclusion criteria for the study.</p><h3>Origins</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>FHIR Client (Details: Test script profile origin type code FHIR-Client = ' FHIR Client ', stated as ' null ')</td></tr></table><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Index</b></td><td><b>Profile</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>FHIR Server (Details: Test script profile destination type code FHIR-Server = ' FHIR Server ', stated as ' null ')</td></tr></table><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>fixture-transaction-request</blockquote><p><b>autocreate</b>: false</p><p><b>autodelete</b>: false</p><p><b>resource</b>: <a href=\"DocumentReference/EXP-S2-ExcludedPatient\">DocumentReference/EXP-S2-ExcludedPatient</a></p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>fixture-transaction-teardown</blockquote><p><b>autocreate</b>: false</p><p><b>autodelete</b>: false</p><p><b>resource</b>: <a href=\"DocumentReference/EXP-Teardown\">DocumentReference/EXP-Teardown</a></p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>fixture-valueset-create</blockquote><p><b>autocreate</b>: false</p><p><b>autodelete</b>: false</p><p><b>resource</b>: <a href=\"DocumentReference/VS-PCa\">DocumentReference/VS-PCa</a></p></blockquote><blockquote><p><b>fixture</b></p><blockquote><p><b>id</b></p>fixture-library-create</blockquote><p><b>autocreate</b>: false</p><p><b>autodelete</b>: false</p><p><b>resource</b>: <a href=\"DocumentReference/PcaInclusionCriteria\">DocumentReference/PcaInclusionCriteria</a></p></blockquote><blockquote><p><b>variable</b></p><blockquote><p><b>id</b></p>patientId</blockquote><p><b>name</b>: patientId</p><p><b>expression</b>: Bundle.entry[0].response.location</p><p><b>sourceId</b>: fixture-transaction-response</p></blockquote><blockquote><p><b>variable</b></p><blockquote><p><b>id</b></p>obsPIRADSId</blockquote><p><b>name</b>: obsPIRADSId</p><p><b>expression</b>: Bundle.entry[6].response.location</p><p><b>sourceId</b>: fixture-transaction-response</p></blockquote><blockquote><p><b>variable</b></p><blockquote><p><b>id</b></p>obsPVId</blockquote><p><b>name</b>: obsPVId</p><p><b>expression</b>: Bundle.entry[5].response.location</p><p><b>sourceId</b>: fixture-transaction-response</p></blockquote><blockquote><p><b>variable</b></p><blockquote><p><b>id</b></p>proDREId</blockquote><p><b>name</b>: proDREId</p><p><b>expression</b>: Bundle.entry[4].response.location</p><p><b>sourceId</b>: fixture-transaction-response</p></blockquote><blockquote><p><b>variable</b></p><blockquote><p><b>id</b></p>obsPSAId</blockquote><p><b>name</b>: obsPSAId</p><p><b>expression</b>: Bundle.entry[3].response.location</p><p><b>sourceId</b>: fixture-transaction-response</p></blockquote><blockquote><p><b>variable</b></p><blockquote><p><b>id</b></p>famPCId</blockquote><p><b>name</b>: famPCId</p><p><b>expression</b>: Bundle.entry[2].response.location</p><p><b>sourceId</b>: fixture-transaction-response</p></blockquote><blockquote><p><b>variable</b></p><blockquote><p><b>id</b></p>proBiopsyId</blockquote><p><b>name</b>: proBiopsyId</p><p><b>expression</b>: Bundle.entry[1].response.location</p><p><b>sourceId</b>: fixture-transaction-response</p></blockquote><blockquote><p><b>setup</b></p><blockquote><p><b>action</b></p><blockquote><p><b>operation</b></p><blockquote><p><b>id</b></p>SET-01</blockquote><p><b>type</b>: transaction (Details: FHIR Restful Interactions code transaction = ' transaction ', stated as ' null ')</p><p><b>resource</b>: Bundle</p><p><b>description</b>: Sent a transaction request on the test server using the id from fixture-transaction-request.</p><p><b>accept</b>: application/fhir+json</p><p><b>contentType</b>: application/fhir+json</p><p><b>encodeRequestUrl</b>: false</p><p><b>method</b>: post</p><p><b>responseId</b>: fixture-transaction-response</p><p><b>sourceId</b>: fixture-transaction-request</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>assert</b></p><blockquote><p><b>id</b></p>SET-01-ASS-01</blockquote><p><b>label</b>: HTTPStatus</p><p><b>description</b>: Confirm that the returned HTTP status is 200.</p><p><b>direction</b>: response</p><p><b>responseCode</b>: 200</p><p><b>warningOnly</b>: false</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>operation</b></p><blockquote><p><b>id</b></p>SET-02</blockquote><p><b>type</b>: update (Details: FHIR Restful Interactions code update = ' update ', stated as ' null ')</p><p><b>resource</b>: ValueSet</p><p><b>description</b>: Create the ValueSet resource on the test server using the id from fixture-valueset-create.</p><p><b>accept</b>: application/fhir+json</p><p><b>contentType</b>: application/fhir+json</p><p><b>encodeRequestUrl</b>: false</p><p><b>method</b>: put</p><p><b>sourceId</b>: fixture-valueset-create</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>assert</b></p><blockquote><p><b>id</b></p>SET-02-ASS-01</blockquote><p><b>label</b>: HTTPStatus</p><p><b>description</b>: Confirm that the returned HTTP status is 201.</p><p><b>direction</b>: response</p><p><b>responseCode</b>: 201</p><p><b>warningOnly</b>: false</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>operation</b></p><blockquote><p><b>id</b></p>SET-03</blockquote><p><b>type</b>: update (Details: FHIR Restful Interactions code update = ' update ', stated as ' null ')</p><p><b>resource</b>: Library</p><p><b>description</b>: Create the Library resource on the test server using the id from fixture-library-create.</p><p><b>accept</b>: application/fhir+json</p><p><b>contentType</b>: application/fhir+json</p><p><b>encodeRequestUrl</b>: false</p><p><b>method</b>: put</p><p><b>sourceId</b>: fixture-library-create</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>assert</b></p><blockquote><p><b>id</b></p>SET-03-ASS-01</blockquote><p><b>label</b>: HTTPStatus</p><p><b>description</b>: Confirm that the returned HTTP status is 201.</p><p><b>direction</b>: response</p><p><b>responseCode</b>: 201</p><p><b>warningOnly</b>: false</p></blockquote></blockquote></blockquote><blockquote><p><b>test</b></p><blockquote><p><b>id</b></p>1-EvaluateLibrary</blockquote><p><b>name</b>: Evaluation of CQL Library for Prostate Cancer Inclusion</p><p><b>description</b>: This test evaluates the inclusion criteria defined in the CQL library for a prostate cancer study.</p><blockquote><p><b>action</b></p><blockquote><p><b>operation</b></p><blockquote><p><b>id</b></p>TES-01</blockquote><p><b>type</b>: operation (Details: FHIR Restful Interactions code operation = ' operation ', stated as ' null ')</p><p><b>resource</b>: Library</p><p><b>description</b>: Evaluate the CQL library to check if the patient meets the inclusion criteria.</p><p><b>contentType</b>: application/fhir+json</p><p><b>encodeRequestUrl</b>: false</p><p><b>method</b>: get</p><p><b>params</b>: $evaluate?subject={{patientId}}</p><p><b>targetId</b>: fixture-library-create</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>assert</b></p><blockquote><p><b>id</b></p>TES-01-ASS-01</blockquote><p><b>label</b>: HTTPStatus</p><p><b>description</b>: Confirm that the returned HTTP status is 200.</p><p><b>direction</b>: response</p><p><b>responseCode</b>: 200</p><p><b>warningOnly</b>: false</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>assert</b></p><blockquote><p><b>id</b></p>TES-01-ASS-02</blockquote><p><b>label</b>: Resource</p><p><b>description</b>: Confirm that the returned resource type is Parameters.</p><p><b>direction</b>: response</p><p><b>resource</b>: Parameters</p><p><b>warningOnly</b>: false</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>assert</b></p><blockquote><p><b>id</b></p>TES-01-ASS-03</blockquote><p><b>label</b>: FHIRPath</p><p><b>description</b>: Confirm that the returned Parameters resource contains an 'isIncluded' parameter with a value of false.</p><p><b>direction</b>: response</p><p><b>expression</b>: Parameters.parameter.where(name = 'isIncluded' ).value=false</p><p><b>warningOnly</b>: false</p></blockquote></blockquote></blockquote><blockquote><p><b>teardown</b></p><blockquote><p><b>action</b></p><blockquote><p><b>operation</b></p><blockquote><p><b>id</b></p>TED-01</blockquote><p><b>type</b>: transaction (Details: FHIR Restful Interactions code transaction = ' transaction ', stated as ' null ')</p><p><b>resource</b>: Bundle</p><p><b>description</b>: Delete the testing resources on the test server using the id from fixture-transaction-teardown.</p><p><b>encodeRequestUrl</b>: true</p><p><b>method</b>: delete</p><p><b>sourceId</b>: fixture-transaction-teardown</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>operation</b></p><blockquote><p><b>id</b></p>TED-02</blockquote><p><b>type</b>: delete (Details: FHIR Restful Interactions code delete = ' delete ', stated as ' null ')</p><p><b>resource</b>: ValueSet</p><p><b>description</b>: Delete the ValueSet resource on the test server using the id from fixture-library-create.</p><p><b>encodeRequestUrl</b>: true</p><p><b>method</b>: delete</p><p><b>targetId</b>: fixture-valueset-create</p></blockquote></blockquote><blockquote><p><b>action</b></p><blockquote><p><b>operation</b></p><blockquote><p><b>id</b></p>TED-03</blockquote><p><b>type</b>: delete (Details: FHIR Restful Interactions code delete = ' delete ', stated as ' null ')</p><p><b>resource</b>: Library</p><p><b>description</b>: Delete the Library resource on the test server using the id from fixture-library-create.</p><p><b>encodeRequestUrl</b>: true</p><p><b>method</b>: delete</p><p><b>targetId</b>: fixture-library-create</p></blockquote></blockquote></blockquote></div>"
  },
  "url" : "http://hl7.eu/fhir/ig/flute/TestScript/TS-Flute-02",
  "version" : "0.1.0",
  "name" : "PcaInclusionCriteriaS02",
  "title" : "Study Inclusion Criteria - Scenario 02",
  "status" : "draft",
  "experimental" : true,
  "date" : "2024-06-25T14:09:31+00:00",
  "publisher" : "Flute Project",
  "contact" : [
    {
      "name" : "Flute Project",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.fluteproject.eu/"
        }
      ]
    },
    {
      "name" : "Flute Project",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.fluteproject.eu/"
        }
      ]
    }
  ],
  "description" : "This TestScript evaluates the inclusion criteria for patients participating in the study.",
  "purpose" : "To verify that the CQL library correctly identifies patients who meet the inclusion criteria for the study.",
  "origin" : [
    {
      "index" : 1,
      "profile" : {
        "system" : "http://terminology.hl7.org/CodeSystem/testscript-profile-origin-types",
        "code" : "FHIR-Client"
      }
    }
  ],
  "destination" : [
    {
      "index" : 1,
      "profile" : {
        "system" : "http://terminology.hl7.org/CodeSystem/testscript-profile-destination-types",
        "code" : "FHIR-Server"
      }
    }
  ],
  "fixture" : [
    {
      "id" : "fixture-transaction-request",
      "autocreate" : false,
      "autodelete" : false,
      "resource" : {
        "reference" : "DocumentReference/EXP-S2-ExcludedPatient"
      }
    },
    {
      "id" : "fixture-transaction-teardown",
      "autocreate" : false,
      "autodelete" : false,
      "resource" : {
        "reference" : "DocumentReference/EXP-Teardown"
      }
    },
    {
      "id" : "fixture-valueset-create",
      "autocreate" : false,
      "autodelete" : false,
      "resource" : {
        "reference" : "DocumentReference/VS-PCa"
      }
    },
    {
      "id" : "fixture-library-create",
      "autocreate" : false,
      "autodelete" : false,
      "resource" : {
        "reference" : "DocumentReference/PcaInclusionCriteria"
      }
    }
  ],
  "variable" : [
    {
      "id" : "patientId",
      "name" : "patientId",
      "expression" : "Bundle.entry[0].response.location",
      "sourceId" : "fixture-transaction-response"
    },
    {
      "id" : "obsPIRADSId",
      "name" : "obsPIRADSId",
      "expression" : "Bundle.entry[6].response.location",
      "sourceId" : "fixture-transaction-response"
    },
    {
      "id" : "obsPVId",
      "name" : "obsPVId",
      "expression" : "Bundle.entry[5].response.location",
      "sourceId" : "fixture-transaction-response"
    },
    {
      "id" : "proDREId",
      "name" : "proDREId",
      "expression" : "Bundle.entry[4].response.location",
      "sourceId" : "fixture-transaction-response"
    },
    {
      "id" : "obsPSAId",
      "name" : "obsPSAId",
      "expression" : "Bundle.entry[3].response.location",
      "sourceId" : "fixture-transaction-response"
    },
    {
      "id" : "famPCId",
      "name" : "famPCId",
      "expression" : "Bundle.entry[2].response.location",
      "sourceId" : "fixture-transaction-response"
    },
    {
      "id" : "proBiopsyId",
      "name" : "proBiopsyId",
      "expression" : "Bundle.entry[1].response.location",
      "sourceId" : "fixture-transaction-response"
    }
  ],
  "setup" : {
    "action" : [
      {
        "operation" : {
          "id" : "SET-01",
          "type" : {
            "system" : "http://hl7.org/fhir/restful-interaction",
            "code" : "transaction"
          },
          "resource" : "Bundle",
          "description" : "Sent a transaction request on the test server using the id from fixture-transaction-request.",
          "accept" : "application/fhir+json",
          "contentType" : "application/fhir+json",
          "encodeRequestUrl" : false,
          "method" : "post",
          "responseId" : "fixture-transaction-response",
          "sourceId" : "fixture-transaction-request"
        }
      },
      {
        "assert" : {
          "id" : "SET-01-ASS-01",
          "label" : "HTTPStatus",
          "description" : "Confirm that the returned HTTP status is 200.",
          "direction" : "response",
          "responseCode" : "200",
          "warningOnly" : false
        }
      },
      {
        "operation" : {
          "id" : "SET-02",
          "type" : {
            "system" : "http://hl7.org/fhir/restful-interaction",
            "code" : "update"
          },
          "resource" : "ValueSet",
          "description" : "Create the ValueSet resource on the test server using the id from fixture-valueset-create.",
          "accept" : "application/fhir+json",
          "contentType" : "application/fhir+json",
          "encodeRequestUrl" : false,
          "method" : "put",
          "sourceId" : "fixture-valueset-create"
        }
      },
      {
        "assert" : {
          "id" : "SET-02-ASS-01",
          "label" : "HTTPStatus",
          "description" : "Confirm that the returned HTTP status is 201.",
          "direction" : "response",
          "responseCode" : "201",
          "warningOnly" : false
        }
      },
      {
        "operation" : {
          "id" : "SET-03",
          "type" : {
            "system" : "http://hl7.org/fhir/restful-interaction",
            "code" : "update"
          },
          "resource" : "Library",
          "description" : "Create the Library resource on the test server using the id from fixture-library-create.",
          "accept" : "application/fhir+json",
          "contentType" : "application/fhir+json",
          "encodeRequestUrl" : false,
          "method" : "put",
          "sourceId" : "fixture-library-create"
        }
      },
      {
        "assert" : {
          "id" : "SET-03-ASS-01",
          "label" : "HTTPStatus",
          "description" : "Confirm that the returned HTTP status is 201.",
          "direction" : "response",
          "responseCode" : "201",
          "warningOnly" : false
        }
      }
    ]
  },
  "test" : [
    {
      "id" : "1-EvaluateLibrary",
      "name" : "Evaluation of CQL Library for Prostate Cancer Inclusion",
      "description" : "This test evaluates the inclusion criteria defined in the CQL library for a prostate cancer study.",
      "action" : [
        {
          "operation" : {
            "id" : "TES-01",
            "extension" : [
              {
                "url" : "http://fyrstain.com/pdt/returnResourceType",
                "valueString" : "Parameters"
              }
            ],
            "type" : {
              "system" : "http://hl7.org/fhir/restful-interaction",
              "code" : "operation"
            },
            "resource" : "Library",
            "description" : "Evaluate the CQL library to check if the patient meets the inclusion criteria.",
            "contentType" : "application/fhir+json",
            "encodeRequestUrl" : false,
            "method" : "get",
            "params" : "$evaluate?subject={{patientId}}",
            "targetId" : "fixture-library-create"
          }
        },
        {
          "assert" : {
            "id" : "TES-01-ASS-01",
            "label" : "HTTPStatus",
            "description" : "Confirm that the returned HTTP status is 200.",
            "direction" : "response",
            "responseCode" : "200",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "id" : "TES-01-ASS-02",
            "label" : "Resource",
            "description" : "Confirm that the returned resource type is Parameters.",
            "direction" : "response",
            "resource" : "Parameters",
            "warningOnly" : false
          }
        },
        {
          "assert" : {
            "id" : "TES-01-ASS-03",
            "label" : "FHIRPath",
            "description" : "Confirm that the returned Parameters resource contains an 'isIncluded' parameter with a value of false.",
            "direction" : "response",
            "expression" : "Parameters.parameter.where(name = 'isIncluded' ).value=false",
            "warningOnly" : false
          }
        }
      ]
    }
  ],
  "teardown" : {
    "action" : [
      {
        "operation" : {
          "id" : "TED-01",
          "type" : {
            "system" : "http://hl7.org/fhir/restful-interaction",
            "code" : "transaction"
          },
          "resource" : "Bundle",
          "description" : "Delete the testing resources on the test server using the id from fixture-transaction-teardown.",
          "encodeRequestUrl" : true,
          "method" : "delete",
          "sourceId" : "fixture-transaction-teardown"
        }
      },
      {
        "operation" : {
          "id" : "TED-02",
          "type" : {
            "system" : "http://hl7.org/fhir/restful-interaction",
            "code" : "delete"
          },
          "resource" : "ValueSet",
          "description" : "Delete the ValueSet resource on the test server using the id from fixture-library-create.",
          "encodeRequestUrl" : true,
          "method" : "delete",
          "targetId" : "fixture-valueset-create"
        }
      },
      {
        "operation" : {
          "id" : "TED-03",
          "type" : {
            "system" : "http://hl7.org/fhir/restful-interaction",
            "code" : "delete"
          },
          "resource" : "Library",
          "description" : "Delete the Library resource on the test server using the id from fixture-library-create.",
          "encodeRequestUrl" : true,
          "method" : "delete",
          "targetId" : "fixture-library-create"
        }
      }
    ]
  }
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.